package com.kurumi.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import com.kurumi.pojo.coding_attached.DRGsManageInfo;
import com.kurumi.query.MedicalRecordDRGsQuery;

public interface MedicalRecordDRGsService {

	/**
	 * 获取DRGs分组病案
	 * @param params
	 * @return
	 */
	List<Map<String,Object>> getMedicalRecordOfDRGsGroup(MedicalRecordDRGsQuery params);
	
	/**
	 * 获取DRGs分组病案数量
	 * @param params
	 * @return
	 */
	int getMedicalRecordCountOfDRGsGroup(MedicalRecordDRGsQuery params);
	

	/**
	 * 获取编码导出病案
	 * @param params
	 * @return
	 */
	List<Map<String,Object>> getCodingExport(MedicalRecordDRGsQuery params);
	
	/**
	 * 获取编码导出病案数量
	 * @param params
	 * @return
	 */
	int getCodingExportCount(MedicalRecordDRGsQuery params);
	
	int uploadDRGsGroup(List<DRGsManageInfo> drgsManageInfos) throws IOException;
}
